/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.model.attach;

import com.unis.model.BaseModel;

/**
 * 系统附件表
 * 
 * @author CSJ (email:raulcsj@163.com)
 * @since 2013-03-07
 */
public class Attachment extends BaseModel {

    private static final long serialVersionUID = 1L;

    /****************************************
     * Basic fields
     ****************************************/
    /**
     * 文件ID
     */
    private String fileid;
    /**
     * 分类ID
     */
    private String catalogid;
    /**
     * 文件名
     */
    private String filename;
    /**
     * 文件体
     */
    private byte[] filebody;
    /**
     * 文件大小(byte)
     */
    private long filesize;
    /**
     * 文件真实类型
     */
    private String filetype;
    /**
     * 是否删除
     */
    private String isdelete;
    /**
     * 上传时间
     */
    private String createtime;
    /**
     * 上传者ID
     */
    private String creatorid;

    /****************************************
     * JavaBean Specify setter & getter
     ****************************************/
    public void setFileid(String fileid) {
        this.fileid = fileid;
    }

    public String getFileid() {
        return fileid;
    }

    public void setCatalogid(String catalogid) {
        this.catalogid = catalogid;
    }

    public String getCatalogid() {
        return catalogid;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilebody(byte[] filebody) {
        this.filebody = filebody;
    }

    public byte[] getFilebody() {
        return filebody;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }

    public String getFiletype() {
        return filetype;
    }

    public void setIsdelete(String isdelete) {
        this.isdelete = isdelete;
    }

    public String getIsdelete() {
        return isdelete;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatorid(String creatorid) {
        this.creatorid = creatorid;
    }

    public String getCreatorid() {
        return creatorid;
    }

    public long getFilesize() {
        return filesize;
    }

    public void setFilesize(long filesize) {
        this.filesize = filesize;
    }

}
